//
//  MororcadeAction.m
//  ICrEAM
//
//  Created by mac on 16/11/17.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "MororcadeAction.h"

@implementation MororcadeAction

- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodGet;
}
// 请求参数
- (id)requestArgument {
    NSMutableDictionary *parm=[NSMutableDictionary dictionary];
    if (!IsStrEmpty(_license)) {
        [parm setObject:_license forKey:@"LICENSE"];
    }else{
         [parm setObject:@"" forKey:@"LICENSE"];
    }
    if (!IsStrEmpty(_query_date)) {
        [parm setObject:_query_date forKey:@"QUERY_DATE"];
    }else{
         [parm setObject:@"" forKey:@"QUERY_DATE"];
    }
    if (!IsStrEmpty(_order)) {
        [parm setObject:_order forKey:@"ORDER"];
    }else{
         [parm setObject:@"" forKey:@"ORDER"];
    }
    [parm setObject:_page forKey:@"CURRENT_PAGE"];
    return parm;

}
// 请求URL
- (NSString *)requestUrl {
    //    return [NSString stringWithFormat:@"%@?EMPLOYEE_NO=%@&PASSWORD=%@",loginUrl,_userName,_password];
    return MororcadeUrl;
}

@end
